package com.sun.temp.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 固化过程详细数据实体类
 * </p>
 *
 * @author: Mr.Wang
 * @create: 2025-09-26 12:57
 **/
@Data
@TableName("QA_RPA_CURE_DETAIL")
public class ExcelResultBean implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(value = "PLAN_LOT")
    @JsonProperty("PLAN_LOT")
    private String PLAN_LOT;

    @TableField(value = "GRADE", jdbcType = JdbcType.VARCHAR)
    @JsonProperty("GRADE")
    private String GRADE;

    @TableField(value = "NODE_TIME", jdbcType = JdbcType.VARCHAR)
    @JsonProperty("NODE_TIME")
    private String NODE_TIME;

    @TableField(value = "NODE_VAL", jdbcType = JdbcType.VARCHAR)
    @JsonProperty("NODE_VAL")
    private String NODE_VAL;

    @TableField(value = "CREATEDATE")
    @JsonProperty("CREATEDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    private String CREATEDATE;
    private Date CREATEDATE;

    // @Override
    // public String toString() {
    //     return "ExcelResultBean{" +
    //             "PLAN_LOT='" + PLAN_LOT + '\'' +
    //             ", GRADE='" + GRADE + '\'' +
    //             ", NODE_TIME=" + NODE_TIME +
    //             ", NODE_VAL='" + NODE_VAL + '\'' +
    //             ", CREATEDATE=" + CREATEDATE +
    //             '}';
    // }
}
